package com.sora.pipeline.domain.dto;

import jakarta.validation.constraints.*;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 巡检任务分配请求DTO
 * 
 * @author system
 * @since 2025-01-20
 */
@Data
public class TaskAssignRequest {
    
    /**
     * 负责人ID
     */
    @NotNull(message = "负责人ID不能为空")
    private Long assigneeId;
    
    /**
     * 截止时间
     */
    @NotNull(message = "截止时间不能为空")
    private LocalDateTime deadline;
    
    /**
     * 备注
     */
    @Size(max = 500, message = "备注长度不能超过500字符")
    private String remark;
}
